#include "../IApplication.h"
#include <QApplication>

class MainFrame;
class SApplication 
	: public IApplication
{
public:
	SApplication(int argc, char* argv[]);

	//implement IApplicaton
	virtual int run() override;
	IMainFrame* mainFrame() const override;
	void execCommand(int cmd, const char* parameters) override;
	float uiScale() override;

private:
	MainFrame*		m_frame = nullptr;
	QApplication*	m_qApp = nullptr;

	int				m_argc = 0;
	char**			m_argv = nullptr;
};
